﻿using System.Threading.Tasks;
using DHJ.Cost.Timing;

namespace DHJ.Cost.Excel.Cache
{
    public interface IExcelDataCache
    {
        Task<ExcelDataCacheItem> GetCacheItemOrNull(string id);

        Task ClearCacheItem(string id);

        Task AddExcelBatch(string id, string title, ExcelType type, OccurrenceTime time, ExcelBatchData batch);
    }
}
